/**
 * losenote.com Inc.
 * Copyright (c) 2013-2013 All Rights Reserved.
 */
package com.losenote.service.result;

import com.losenote.enums.LnResultCodeEnum;
import com.losenote.model.ContactDetail;

/**
 * 问题验证result
 * 
 * @author danjingyu
 * @version $Id: AnswerResult.java, v 0.1 2013-11-1 上午8:26:34 danjingyu Exp $
 */
public class AnswerResult extends LnResult {

    /**默认id*/
    private static final long serialVersionUID = 1L;

    /**联系信息*/
    private ContactDetail     contactDetail;

    /**
     * 默认构造函数
     */
    public AnswerResult() {

    }

    /**
     * 默认构造函数
     * 
     * @param contactDetail
     */
    public AnswerResult(ContactDetail contactDetail) {
        this.success = true;
        this.code = LnResultCodeEnum.SUCCESS.getCode();
        this.message = LnResultCodeEnum.SUCCESS.getDescription();
        this.contactDetail = contactDetail;
    }

    public ContactDetail getContactDetail() {
        return contactDetail;
    }

    public void setContactDetail(ContactDetail contactDetail) {
        this.contactDetail = contactDetail;
    }

}
